﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test1
{
    class Buyer
    {
        private string name;
        public Buyer(string name)
        {
            //设置客户姓名
            this.name = name;
        }
        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                this.name = value;
            }
        }
        public override string ToString()
        {
            return "buyerName:" + name;
        }
    }
}
